.class public Lcom/instagram/android/model/b/p;
.super Ljava/lang/Object;
.source "UserHelper.java"


# direct methods
.method public static a(Lcom/instagram/android/model/b/e;)Z
    .locals 2
    .parameter

    .prologue
    .line 10
    invoke-static {}, Lcom/instagram/service/a;->a()Lcom/instagram/service/a;

    move-result-object v0

    invoke-virtual {v0}, Lcom/instagram/service/a;->c()Ljava/lang/String;

    move-result-object v0

    .line 11
    invoke-virtual {p0}, Lcom/instagram/android/model/b/e;->k()Ljava/lang/String;

    move-result-object v1

    if-eqz v1, :cond_0

    if-eqz v0, :cond_0

    invoke-virtual {p0}, Lcom/instagram/android/model/b/e;->k()Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_0

    const/4 v0, 0x1

    :goto_0
    return v0

    :cond_0
    const/4 v0, 0x0

    goto :goto_0
.end method

.method public static b(Lcom/instagram/android/model/b/e;)Z
    .locals 3
    .parameter

    .prologue
    const/4 v0, 0x1

    .line 15
    invoke-static {p0}, Lcom/instagram/android/model/b/p;->a(Lcom/instagram/android/model/b/e;)Z

    move-result v1

    if-eqz v1, :cond_1

    .line 24
    :cond_0
    :goto_0
    return v0

    .line 17
    :cond_1
    invoke-virtual {p0}, Lcom/instagram/android/model/b/e;->A()Lcom/instagram/android/model/b/h;

    move-result-object v1

    if-eqz v1, :cond_0

    invoke-virtual {p0}, Lcom/instagram/android/model/b/e;->A()Lcom/instagram/android/model/b/h;

    move-result-object v1

    sget-object v2, Lcom/instagram/android/model/b/h;->c:Lcom/instagram/android/model/b/h;

    invoke-virtual {v1, v2}, Lcom/instagram/android/model/b/h;->equals(Ljava/lang/Object;)Z

    move-result v1

    if-eqz v1, :cond_0

    .line 19
    invoke-virtual {p0}, Lcom/instagram/android/model/b/e;->B()Lcom/instagram/android/model/b/g;

    move-result-object v1

    if-eqz v1, :cond_0

    invoke-virtual {p0}, Lcom/instagram/android/model/b/e;->B()Lcom/instagram/android/model/b/g;

    move-result-object v1

    sget-object v2, Lcom/instagram/android/model/b/g;->d:Lcom/instagram/android/model/b/g;

    invoke-virtual {v1, v2}, Lcom/instagram/android/model/b/g;->equals(Ljava/lang/Object;)Z

    move-result v1

    if-nez v1, :cond_0

    .line 21
    const/4 v0, 0x0

    goto :goto_0
.end method
